-
Notifications
You must be signed in to change notification settings - Fork 28.7k
[SPARK-7586][ML][doc] Add docs of Word2Vec in ml package #6181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Merged build triggered. |
Merged build started. |
Test build #32804 has started for PR 6181 at commit |
Test build #32804 has finished for PR 6181 at commit
|
Merged build finished. Test FAILed. |
Test FAILed. |
Test build #812 has started for PR 6181 at commit |
Test build #812 has finished for PR 6181 at commit
|
{% highlight scala %} | ||
import org.apache.spark.ml.feature.Word2Vec | ||
|
||
val documentDF = sqlContext.createDataFrame(Seq( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add comment in line above:
Input data: Each row is a bag of words from a sentence or document.
(Please add to other examples too.)
@yinxusen I tried the Scala example but got this error:
Did these all run for you? The Java file needs the Apache license at the top. |
Merged build triggered. |
Merged build started. |
Test build #32935 has started for PR 6181 at commit |
Test build #32935 has finished for PR 6181 at commit
|
Merged build finished. Test FAILed. |
Test FAILed. |
@yinxusen This needs the Apache license at the top of all files. (That is causing the RAT test failure.) |
@yinxusen Except for the RAT test issue, this LGTM. You may encounter merge issues from other updates to ml-features.md, but they should be easy to fix. |
@jkbradley Sorry for forgetting the Apache license again... fix it now. |
@jkbradley Seems it has no merging problem, for now. |
Merged build triggered. |
Merged build started. |
Test build #33050 has started for PR 6181 at commit |
Test build #33050 has finished for PR 6181 at commit
|
Merged build finished. Test FAILed. |
Test FAILed. |
Test build #830 has started for PR 6181 at commit |
@jkbradley Are there more concrete error infos for Mima error? I search from the console output of the test, but cannot locate the error. |
Test build #830 timed out for PR 6181 at commit |
@yinxusen It's not actually a MIMA error; that's a bug in the script reporting on the tests. It looks to me like Jenkins being flaky. |
Test build #831 has started for PR 6181 at commit |
Test build #831 has finished for PR 6181 at commit
|
LGTM merging into master and branch-1.4 |
CC jkbradley. JIRA [issue](https://issues.apache.org/jira/browse/SPARK-7586). Author: Xusen Yin <[email protected]> Closes #6181 from yinxusen/SPARK-7586 and squashes the following commits: 77014c5 [Xusen Yin] comment fix 57a4c07 [Xusen Yin] small fix for docs 1178c8f [Xusen Yin] remove the correctness check in java suite 1c3f389 [Xusen Yin] delete sbt commit 1af152b [Xusen Yin] check python example code 1b5369e [Xusen Yin] add docs of word2vec (cherry picked from commit 68fb2a4) Signed-off-by: Joseph K. Bradley <[email protected]>
CC jkbradley. JIRA [issue](https://issues.apache.org/jira/browse/SPARK-7586). Author: Xusen Yin <[email protected]> Closes apache#6181 from yinxusen/SPARK-7586 and squashes the following commits: 77014c5 [Xusen Yin] comment fix 57a4c07 [Xusen Yin] small fix for docs 1178c8f [Xusen Yin] remove the correctness check in java suite 1c3f389 [Xusen Yin] delete sbt commit 1af152b [Xusen Yin] check python example code 1b5369e [Xusen Yin] add docs of word2vec
CC jkbradley. JIRA [issue](https://issues.apache.org/jira/browse/SPARK-7586). Author: Xusen Yin <[email protected]> Closes apache#6181 from yinxusen/SPARK-7586 and squashes the following commits: 77014c5 [Xusen Yin] comment fix 57a4c07 [Xusen Yin] small fix for docs 1178c8f [Xusen Yin] remove the correctness check in java suite 1c3f389 [Xusen Yin] delete sbt commit 1af152b [Xusen Yin] check python example code 1b5369e [Xusen Yin] add docs of word2vec
CC jkbradley. JIRA [issue](https://issues.apache.org/jira/browse/SPARK-7586). Author: Xusen Yin <[email protected]> Closes apache#6181 from yinxusen/SPARK-7586 and squashes the following commits: 77014c5 [Xusen Yin] comment fix 57a4c07 [Xusen Yin] small fix for docs 1178c8f [Xusen Yin] remove the correctness check in java suite 1c3f389 [Xusen Yin] delete sbt commit 1af152b [Xusen Yin] check python example code 1b5369e [Xusen Yin] add docs of word2vec
CC @jkbradley.
JIRA issue.